﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="wfAgregarLocalizacion.aspx.cs" Inherits="WebGustozzi.ModuloVentas.wfAgregarLocalizacion" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" runat="server">

   <div id="contenedor3">

        <%--Titulo--%>
        <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td >
                    <asp:Label id="lblTarea" runat="server" Text=":: AGREGAR LOCALIZACION" 
                        SkinID="labelTitulo"></asp:Label>
                </td>
            </tr>    
            <tr>
                <td style="HEIGHT: 10px"></td>
            </tr>
        </table>
        <%--Datos del Busqueda--%>
        <table style="width:100%" cellpadding="0" cellspacing="0" border="0" class="tdmarcoTitulo">
            <tr>
                <td colspan="9">
                <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td class="tdfondoTitulo" style="width:100%; HEIGHT: 18px" align="left" colspan="9">
                            <asp:Label ID="Label1" runat="server" SkinID="labelsubTituloSkin"  
                                Text=" :: Datos de Búsqueda" Width="230px"></asp:Label>
                        </td>
                    </tr>
                </table>
                </td>
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td style="width:110px">
                    <asp:Label ID="Label3" runat="server" Text="Departamento" SkinID="labelTextSkin" 
                        Width="100px" Height="16px"></asp:Label>
                </td>
                <td style="width:310px" colspan="4">
                    <asp:DropDownList ID="DropDownList1" runat="server" 
                        SkinID="DropDownListTextSkin" Width="150px">
                    </asp:DropDownList>
                </td>
                <td style="width:50px">
                </td >
                <td  style="width:100px">
                </td>
                <td  style="width:280px">
                </td>
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td >
                    <asp:Label ID="Label5" runat="server" Text="Provincia" SkinID="labelTextSkin" 
                        Width="110px"></asp:Label>
                </td>
                <td style="width:150px" colspan="4">
                    <asp:DropDownList ID="DropDownList2" runat="server" 
                        SkinID="DropDownListTextSkin" Width="150px">
                    </asp:DropDownList>
                </td>
                <td style="width:50px">
                </td >
                <td  style="width:100px">
                </td>
                <td  style="width:280px">
                    <asp:Button ID="Button9" runat="server" SkinID="ButtonTextSkin" Text="Buscar" />
                </td>
            </tr>
 
            <tr><td style="height:5px"></td></tr>
        </table>
        <table>
            <tr style="height:10px"><td></td></tr>
        </table>      
             <%--LISTADO --%>
            <table style="WIDTH: 100%" cellSpacing="0" cellPadding="0">
                <TBODY>
                    <TR>
                        <TD style="HEIGHT: 18px" class="tdfondoTitulo">
                            <asp:Label id="Label10" runat="server" Text=":: Listado de Localizaciones" 
                                SkinID="labelsubTituloSkin" Width="368px"></asp:Label>
                        </TD>
                    </TR>
                    <TR>
                        <TD class="tdmarcoTitulo">
                            <DIV style="WIDTH: 100%; HEIGHT: 150px" id="scrollDivPlanes" class="divGVForm">
                                <asp:GridView id="grvListaVen" runat="server" SkinID="gridviewSkin" 
                                    AutoGenerateColumns="False" AllowPaging="True" ShowHeaderWhenEmpty="True">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate><asp:Label ID="lblItem" runat="server" Text='<%#Convert.ToInt32(DataBinder.Eval(Container, "DataItemIndex")) + 1%>'></asp:Label></ItemTemplate>
                                        <ItemStyle Width="3%" />
                                    </asp:TemplateField>
                                    <asp:BoundField HeaderText="DEPARTAMENTO">
                                    <ItemStyle Width="15%" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="PROVINCIA">
                                    <ItemStyle Width="15%" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="DISTRITO">
                                    <ItemStyle Width="15%" />
                                    </asp:BoundField>
                                    <asp:CheckBoxField HeaderText="SELECCIONAR">
                                    <ItemStyle Width="8%" />
                                    </asp:CheckBoxField>
                                </Columns>
                                </asp:GridView>
                             </DIV>
                         </TD>
                     </TR>
                     <tr><td style="height:10px"></td></tr>
                </TBODY>
           </table>   

        <%--Controles de Comando--%>
        <table  style="WIDTH: 100%" cellspacing="0" cellpadding="0" border="0">
            <tr style="height:35px" >
                <td>
                    &nbsp;&nbsp;<asp:Button ID="btnAgregar" runat="server" Text="Agregar" SkinID="ButtonTextSkin" 
                        Width="70px" />
                    &nbsp;<asp:Button ID="imbCerrar" runat="server" Text="Cerrar" 
                        SkinID="ButtonTextSkin" Width="70px" onclick="imbCerrar_Click" />
                </td>
            </tr>
        </table>            
    
    </div>

</asp:Content>
